<?php
/*
Copy this file into your current active theme's directory to customize this template

This template displays Flickr photos based on a tag
*/
global $TanTanFlickrPlugin;
?>

<?php include($TanTanFlickrPlugin->getDisplayTemplate('/photoalbum-nav.html'));?>

<h2><?php echo $group['name']?> : <?php echo htmlentities($request['tags'], ENT_COMPAT, 'UTF-8')?></h2>
<p><?php echo $group['description']?></p>
<p>Photos tagged with <strong><?php echo htmlentities($request['tags'], ENT_COMPAT, 'UTF-8')?></strong></p>
<div id="photos">
<?php foreach ($photos as $photo)
echo TanTanFlickrDisplay::photo($photo, array(
	'size' => 'Square',
	'prefix' => '../../'));
?>
</div>
<div class="flickr-meta-links">
<a href="http://www.flickr.com/photos/tags/<?php echo urlencode($request['tags']);?>/" target="_blank">View this tag on Flickr</a>
</div>
